lib/repo: Fix multi-signature support when generating summary files
authorJeremy Hiatt <jeremy.hiatt@gmail.com>
Thu, 8 Mar 2018 01:44:43 +0000 (01:44 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 8 Mar 2018 19:58:41 +0000 (19:58 +0000)
commit3b7044f45ef5f62a855454293447061016a53bd3
tree69a38487734e542f1b16540e35e648bdb9ee94e7
parent127d8bb846442c8b2767d12506d10d969b360663
lib/repo: Fix multi-signature support when generating summary files

Ensure that the metadata object is built up with the signatures from all keys
passed to ostree_repo_add_gpg_signature_summary(). Previously only the signature
from the last key would end up in the metadata.

Closes: #1488
Closes: #1489
Approved by: jlebon
src/libostree/ostree-repo.c